package com.bookmanager.www.service;

import com.bookmanager.www.entity.FlAddress;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.ArrayList;

/**
 * <p>
 * 用户的地址表（用户与用户地址表对应关系应该是一对多) 服务类
 * </p>
 *
 * @author 风离
 * @since 2021-09-17
 */
public interface FlAddressService extends IService<FlAddress> {

    /**
     * 给用户添加一个收货地址
     * @param userId
     * @param name
     * @param phoneNum
     * @param addressDefault
     * @param receiveProvince
     * @param receiveCity
     * @param receiveCounty
     * @param receiveDesc
     * @return
     */
    ArrayList addAddress(String userId, String name, String phoneNum, Integer addressDefault, String receiveProvince, String receiveCity, String receiveCounty, String receiveDesc);
}
